export default {
  smallTexts: [
    {
      name: '今天报修数',
      number: '100'
    },
    {
      name: '今天派单数',
      number: '66'
    },
    {
      name: '今日房屋出租量',
      number: '6'
    },
    {
      name: '今天人流量',
      number: '4895'
    },
    {
      name: '文章阅读量',
      number: '10W+'
    },
    {
      name: '今天看房预约次数',
      number: '56'
    }
  ],
  option1: {
    triggerEvent: true, // 是否触发事件
    title: {
      text: '本周报修情况',
      top: '5%',
      left: '5%',
      textStyle: {
        color: '#fff'
      }
    },
    tooltip: {
      trigger: 'axis',
      axisPointer: {
        // Use axis to trigger tooltip
        type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'
      }
    },
    legend: {
      textStyle: {
        color: '#fff'
      },
      top: '15%'
    },
    grid: {
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
    },
    xAxis: {
      type: 'value',
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    yAxis: {
      type: 'category',
      data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
      color: '#fff',
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    series: [
      {
        name: '水电',
        type: 'bar',
        stack: 'total',
        label: {
          show: false
        },
        emphasis: {
          focus: 'series'
        },
        data: [320, 302, 301, 334, 390, 330, 320]
      },
      {
        name: '泥木',
        type: 'bar',
        stack: 'total',
        label: {
          show: false
        },
        emphasis: {
          focus: 'series'
        },
        data: [120, 132, 101, 134, 90, 230, 210]
      },
      {
        name: '通讯',
        type: 'bar',
        stack: 'total',
        label: {
          show: false
        },
        emphasis: {
          focus: 'series'
        },
        data: [220, 182, 191, 234, 290, 330, 310]
      },
      {
        name: '园林绿化',
        type: 'bar',
        stack: 'total',
        label: {
          show: false
        },
        emphasis: {
          focus: 'series'
        },
        data: [150, 212, 201, 154, 190, 330, 410]
      }
    ]
  },
  option2: {
    triggerEvent: true, // 是否触发事件
    grid: {
      top: '10%',
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
    },
    title: [
      {
        text: '派单用户满意度统计',
        textStyle: {
          color: '#fff',
          fontSize: 15
        }
      }
    ],
    polar: {
      radius: [30, '80%']
    },
    radiusAxis: {
      max: 100
    },
    angleAxis: {
      type: 'category',
      data: ['水电', '泥木', '通讯', '绿化'],
      startAngle: 75
    },
    tooltip: {},
    series: {
      type: 'bar',
      data: ['80', '77', '66', '99'],
      coordinateSystem: 'polar',
      label: {
        show: true,
        position: 'middle',
        formatter: '{b}: {c}'
      }
    },
    animation: false
  },
  option4: {
    triggerEvent: true, // 是否触发事件
    title: {
      text: '公交车乘客年龄分析',
      top: '5%',
      left: '3%',
      textStyle: {
        color: '#fff'
      }
    },
    angleAxis: {
      type: 'category',
      data: ['6点-10点', '10点-14点', '14点-18点', '18点-20点'],
      axisLabel: {
        color: '#fff'
      }
    },
    radiusAxis: {},
    polar: {},
    series: [
      {
        type: 'bar',
        data: [1, 2, 3, 4],
        coordinateSystem: 'polar',
        name: '青少年',
        stack: 'a',
        emphasis: {
          focus: 'series'
        }
      },
      {
        type: 'bar',
        data: [2, 4, 6, 1],
        coordinateSystem: 'polar',
        name: '青壮年',
        stack: 'a',
        emphasis: {
          focus: 'series'
        }
      },
      {
        type: 'bar',
        data: [1, 2, 3, 4],
        coordinateSystem: 'polar',
        name: '中老年',
        stack: 'a',
        emphasis: {
          focus: 'series'
        }
      }
    ],
    legend: {
      show: true,
      data: ['青少年', '青壮年', '中老年'],
      bottom: '1%',
      textStyle: {
        color: '#fff'
      }
    }
  },
  option3: {
    triggerEvent: true, // 是否触发事件
    title: {
      text: '公交车拥挤程度',
      top: '2%',
      left: '5%',
      textStyle: {
        color: '#fff',
        fontSize: 15
      }
    },
    tooltip: {
      trigger: 'axis',
      axisPointer: {
        type: 'shadow'
      }
    },
    legend: {
      top: '10%',
      right: '5%',
      textStyle: {
        color: '#fff'
      }
    },
    grid: {
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
    },
    xAxis: {
      type: 'value',
      boundaryGap: [0, 0.01],
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    yAxis: {
      type: 'category',
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      },
      data: ['一号线', '二号线', '三号线', '四号线', '五号线', '六号线']
    },
    series: [
      {
        name: '来',
        type: 'bar',
        data: [150, 220, 161, 99, 79, 88]
      },
      {
        name: '回',
        type: 'bar',
        data: [193, 234, 310, 121, 134, 68]
      }
    ]
  },
  option5: {
    triggerEvent: true, // 是否触发事件
    title: {
      text: '房屋出租量',
      top: '5%',
      left: '1%',
      textStyle: {
        color: '#fff'
      }
    },
    tooltip: {
      trigger: 'axis',
      axisPointer: {
        type: 'cross',
        label: {
          backgroundColor: '#6a7985'
        }
      }
    },
    legend: {
      top: '5%',
      right: '20%',
      textStyle: {
        color: '#fff'
      }
    },
    grid: {
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
    },
    xAxis: {
      type: 'category',
      boundaryGap: false,
      data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    yAxis: {
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    series: [
      {
        name: '整租',
        type: 'line',
        stack: 'Total',
        areaStyle: {},
        emphasis: {
          focus: 'series'
        },
        data: [12, 12, 10, 13, 9, 23, 21]
      },
      {
        name: '合租',
        type: 'line',
        stack: 'Total',
        areaStyle: {},
        emphasis: {
          focus: 'series'
        },
        data: [20, 12, 11, 24, 20, 33, 30]
      },
      {
        name: '长租',
        type: 'line',
        stack: 'Total',
        areaStyle: {},
        emphasis: {
          focus: 'series'
        },
        data: [10, 23, 20, 15, 20, 3, 14]
      },
      {
        name: '短租',
        type: 'line',
        stack: 'Total',
        areaStyle: {},
        emphasis: {
          focus: 'series'
        },
        data: [30, 32, 31, 4, 39, 30, 30]
      }
    ]
  },
  option6: {
    triggerEvent: true, // 是否触发事件
    title: {
      text: '村民关注热点',
      top: '5%',
      left: '2%',
      textStyle: {
        color: '#fff'
      }
    },
    tooltip: {
      trigger: 'axis'
    },
    legend: {
      data: ['今日限电政策', '隔壁老王的瓜', '张屠户家发财', '家人超市打折'],
      top: '5%',
      right: '5%',
      textStyle: {
        color: '#fff'
      }
    },
    grid: {
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
    },
    xAxis: {
      type: 'category',
      boundaryGap: false,
      data: ['1:00', '2:00', '3:00', '4:00', '5:00', '6:00', '7:00', '8:00', '9:00', '10:00', '11:00', '12:00',
        '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00',
        '20:00', '21:00', '22:00', '23:00', '24:00'],
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      }
    },
    yAxis: {
      axisLabel: {
        textStyle: {
          color: '#fff'
        }
      },
      type: 'value'
    },
    series: [
      {
        name: '今日限电政策',
        type: 'line',
        data: [0, 0, 0, 0, 0, 0, 0, 1, 1, 5, 8, 44, 525, 757, 440, 77, 71, 5601, 710, 441, 20, 7, 4, 0]
      },
      {
        name: '隔壁老王的瓜',
        type: 'line',
        data: [0, 0, 0, 0, 0, 0, 0, 1, 1, 5, 8, 55, 484, 626, 1055, 1647, 3345, 2347, 707, 100, 20, 0, 0, 0]
      },
      {
        name: '张屠户家发财',
        type: 'line',
        data: [0, 0, 0, 0, 0, 0, 0, 1, 1, 5, 8, 55, 85, 410, 740, 612, 747, 888, 666, 414, 0, 0, 0, 0]
      },
      {
        name: '家人超市打折',
        type: 'line',
        data: [0, 0, 0, 0, 0, 0, 4, 57, 71, 400, 1500, 5230, 4502, 6615, 7787, 6264, 5154, 3562, 451, 124, 1, 5, 0, 0]
      }
    ]
  }
}
